
package com.twb.auth.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import com.twb.auth.entity.twbPost.TwbPost;
import com.twb.auth.entity.twbPost.dto.SearchTwbPostDto;
import com.twb.auth.entity.twbPost.vo.SaveTwbPostVo;
import com.twb.auth.entity.twbPost.vo.SearchTwbPostVo;
import com.twb.auth.entity.twbPost.vo.UpdateTwbPostByIdVo;
import com.twb.core.base.entity.TwbPageInfo;
import com.twb.core.base.service.IBaseService;

/**
 * @ClassName: ITwbPostService
 * @Description: 岗位信息
 * 
 * @author DHL
 * @date 2022-10-24 20:45:59
 */
public interface ITwbPostService extends IBaseService<TwbPost> {
  
  /**
   * @Title: searchTwbPost
   * @Description: 分页查询
   * @param vo
   * @return
   * @author DHL
   * @date 2022-10-24 20:45:59
   */
  public TwbPageInfo<SearchTwbPostDto> searchTwbPost(SearchTwbPostVo vo);

  /**
   * @Title: searchTwbPost
   * @Description: 不分页查询
   * @param vo
   * @return
   * @author DHL
   * @date 2022-10-24 20:45:59
   */
  public List<SearchTwbPostDto> searchTwbPostList(SearchTwbPostVo vo);

  /**
   * @Title: searchTwbPostSum
   * @Description: 列表查询合计（含查询条件）
   * @param vo
   * @return
   * @author DHL
   * @date 2022-10-24 20:45:59
   */
  public SearchTwbPostDto searchTwbPostSum(SearchTwbPostVo vo);

  /**
   * @Title: saveTwbPost
   * @Description: 保存信息
   * @param vo
   * @return
   * @author DHL
   * @date 2022-10-24 20:45:59
   */
  public boolean saveTwbPost(SaveTwbPostVo vo);

  /**
   * @Title: updateTwbPostById
   * @Description: 更新信息
   * @param vo
   * @return
   * @author DHL
   * @date 2022-10-24 20:45:59
   */
  public boolean updateTwbPostById(UpdateTwbPostByIdVo vo);

  /**
   * @Title: deleteTwbPostByIds
   * @Description: 批量删除信息
   * @param ids
   * @return
   * @author DHL
   * @date 2022-10-24 20:45:59
   */
  public boolean deleteTwbPostByIds(String ids);

  /**
   * @Title: logicBatchDeleteTwbPostByIds
   * @Description: 批量逻辑删除
   * @param ids
   * @return
   * @author DHL
   * @date 2022-10-24 20:45:59
   */
  public int logicBatchDeleteTwbPostByIds(String ids);

  /**
   * @Title: exportExcel
   * @Description: 导出excel
   * @param exportExcelVo
   * @param searchVo
   * @return
   * @author DHL
   * @date 2022-10-24 20:45:59
   */
  public void exportExcel(SearchTwbPostVo vo, HttpServletResponse response) throws Exception;

  /**
   * @Title: importExcel
   * @Description: 导入excel
   * @param map
   * @return
   * @author DHL
   * @date 2022-10-24 20:45:59
   */
  public int importExcel(Map<String, String> map);



}
